package com.aaa.service.impl;

import com.aaa.dao.EmpMapper;
import com.aaa.entity.Emp;
import com.aaa.entity.EmpT;
import com.aaa.service.EmpService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class EmpServiceImpl extends ServiceImpl<EmpMapper, Emp> implements EmpService {
@Resource
EmpMapper empMapper;
    @Override
    public List<Emp> selectEmp(String ename) {
        return empMapper.selectEmp(ename);
    }

    @Override
    public List<Emp> selectEmpAll() {
        return empMapper.selectEmpAll();
    }
}
